<table width="775"  border="0" align="center" class="outtbl" cellpadding="0" cellspacing="0">
  <tr>
    <td width="215" align="left" valign="top" class="lftnavbg">
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="215" height="26" align="left" valign="top" class="lanbg"><table width="175"  border="0" cellspacing="0">
            <tr>
              <td width="215" align="right" valign="middle">
              <!-- Language: <select name="select2" class="style3">
                <option>English</option>
              </select>
			  -->
			  <? include_once "language_select.php"; ?>
			  </td>
            </tr>
          </table></td>
        </tr>
      </table>

        <table width="190"  border="0" cellspacing="0" cellpadding="15">
          <tr>
            <td width="215">
              <form name="login" action="login_validate.php" method="post">
                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="1" colspan="2" bgcolor="#7d7d7d"></td>
                  </tr>
                  <tr>
                    <td height="25" colspan="2" align="center"><img src="images/login.gif" width="111" height="17" alt=""/></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2" bgcolor="#7d7d7d"></td>
                  </tr>
                  <tr>
                    <td height="5" colspan="2" ><span class="style6">
                      <?=$err?>
                    </span></td>
                  </tr>
                  <tr>
                    <td height="15" colspan="2" class="style5"><?=$lang_Choose?>
                      :</td>
                  </tr>
                  <tr>
                    <td height="20" colspan="2" ><select name="flag" class="style3">
                        <option <?=$mer?> value="merchant">
                        <?=$lang_Merchants?>
                        </option>
                        <option <?=$aff?> value="affiliate">
                        <?=$lang_Affiliates?>
                        </option>
                    </select></td>
                  </tr>
                  <tr>
                    <td height="15" colspan="2" ><span class="style5">
                      <?=$lang_Username?>
                      :</span></td>
                  </tr>
                  <tr>
                    <td height="20" colspan="2" ><input name="login" type="text" class="style3" value="" size="25"/></td>
                  </tr>
                  <tr>
                    <td height="15" colspan="2" class="style5"><?=$lang_Password?>
                      :</td>
                  </tr>
                  <tr>
                    <td width="60%"><input  name="password" type="password" class="style3" value="" size="15"/></td>
                    <td width="60" height="20" class="enter"><div class="sbt" onclick="document.login.submit()" >&nbsp;&nbsp;&nbsp;&nbsp;Enter</div></td>
                  </tr>
                  <tr>
                    <td height="15" colspan="2" ><a href="#" onclick="viewlink()">
                      <?=$lang_Forgot?>
                      ? </a></td>
                  </tr>
                  <tr>
                    <td height="5" colspan="2" ></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2" bgcolor="#7d7d7d"></td>
                  </tr>
                  <tr>
                    <td height="10" colspan="2" ></td>
                  </tr>
                  <tr>
                    <td height="10" colspan="2" ><div align="justify">
                        <?=$lang_iPartnersmanager?>
                    </div></td>
                  </tr>
                  <tr>
                    <td height="10" colspan="2" ></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2" bgcolor="#797979"></td>
                  </tr>
                </table>
            </form></td>
          </tr>
        </table></td>
    <td height="100%" rowspan="2" align="left" valign="top">
     <table width="95%" border="0" align="left" cellpadding="0" cellspacing="0">
        <tr bgcolor="#ffa200">
          <td width="5%" height="26" align="left" valign="top"> <img src="images/innerbox2_01.gif" width="24" height="26" alt=""/> </td>
          <td width="95%" align="center" valign="middle"> <div align="center" class="style4"><?=$lang_merPay?></div></td>
        </tr>
        <tr>
          <td height="2" colspan="2" class="ltrtbrdr1" align="center">
              <br/>
              <? include_once "paymoney.php"; ?>


          <p></p></td>
        </tr>
        <tr>
          <td height="26" colspan="2" bgcolor="#d2d2d2" class="lftborder">
            <div align="right"><img src="images/innerbox2_07.gif" width="25" height="26" alt=""/></div></td>
        </tr>
</table></td>
  </tr>
  <tr>
    <td width="215" height="23" align="left" valign="bottom" class="lftnavbg"><img src="images/lft_bt_13.gif" width="215" height="23" alt=""/></td>
  </tr>
</table>
<script language="javascript" type="text/javascript">
           function viewLink()
                {

                   url="forgotpass.php";
                   nw = open(url,'new','height=200,width=450,scrollbars=yes');
                   nw.focus();
                }
 </script>